Telegram Group & Telegram Channel
🖥 Паттерн Хранитель (Memento) - поведенческий шаблон проектирования, позволяющий, не нарушая инкапсуляцию, зафиксировать и сохранить внутреннее состояние объекта так, чтобы позднее восстановить его в это состояние.

Шаблон Хранитель используется, когда:

необходимо сохранить снимок состояния объекта (или его части) для последующего восстановления
прямой интерфейс получения состояния объекта раскрывает детали реализации и нарушает инкапсуляцию объекта

В C# паттерн Memento может быть реализован с помощью комбинации трех классов: Originator, Memento и Caretaker.

Подробнее

@csharp_1001_notes
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/csharp_1001_notes/406
Create:
Last Update:

🖥 Паттерн Хранитель (Memento) - поведенческий шаблон проектирования, позволяющий, не нарушая инкапсуляцию, зафиксировать и сохранить внутреннее состояние объекта так, чтобы позднее восстановить его в это состояние.

Шаблон Хранитель используется, когда:

необходимо сохранить снимок состояния объекта (или его части) для последующего восстановления
прямой интерфейс получения состояния объекта раскрывает детали реализации и нарушает инкапсуляцию объекта

В C# паттерн Memento может быть реализован с помощью комбинации трех классов: Originator, Memento и Caretaker.

Подробнее

@csharp_1001_notes

BY C# 1001 notes




Share with your friend now:
tg-me.com/csharp_1001_notes/406

View MORE
Open in Telegram


C 1001 notes Telegram | DID YOU KNOW?

Date: |

Newly uncovered hack campaign in Telegram

The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

C 1001 notes from nl


Telegram C# 1001 notes
FROM USA